package cate.common.table.activity.throne;


import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass( "淘汰赛排行奖励")
public class TBKoRankRow extends ERow {

    @NoteField("奖励ID")
    public int tid;

    @NoteField("排名起始")
    public int rankBeg;

    @NoteField("排名结束")
    public int rankEnd;

    @NoteField("奖励内容")
    public String rewardStr;

    @NoteField("等级组")
    public int levelGroup;

    @NoteField("分组类型")
    public int groupType;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("奖励ID", 0);
        this.tid = xrw.getInteger("奖励ID", 0);
        this.rankBeg = xrw.getInteger("排名起始", 1);
        this.rankEnd = xrw.getInteger("排名结束", 1);
        this.rewardStr = xrw.getString("奖励内容");
        this.levelGroup = xrw.getInteger("等级组", 0);
        this.groupType = xrw.getInteger("分组类型", 0);
    }

}
